package com.qf.test.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Book implements Serializable {
    private Integer id;
    private String name;
    private String author;
    private String publish;
    private Integer sort;

    @Override
    public String toString() {
        return "id=" + id + ", name='" + name + '\'' + ", author='" + author + '\'' + ", publish='" + publish + '\'' + ", sort=" + sort;
    }
}
